package com.amt.olcacon;

// 交换记录实体类
public class Exchange {
    private Long id;
    private String name;
    private Long productId;    // 当前产品ID
    private Long providerId;   // 提供者产品ID
    
    // 构造函数、getter和setter
    public Exchange(Long id, String name, Long productId, Long providerId) {
        this.id = id;
        this.name = name;
        this.productId = productId;
        this.providerId = providerId;
    }
    
    public Long getId() { return id; }
    public String getName() { return name; }
    public Long getProductId() { return productId; }
    public Long getProviderId() { return providerId; }
}
